package org.project.service.user;

import java.util.List;

import javax.annotation.Resource;

import org.project.dao.user.SysUserMapper;
import org.project.pojo.SysUser;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

	@Resource
	private SysUserMapper sysUserMapper;

	@Override
	public List<SysUser> getUserList(SysUser user) {
		// TODO Auto-generated method stub
		return sysUserMapper.getUserList(user);
	}

	@Override
	public int count(SysUser user) {
		// TODO Auto-generated method stub
		return sysUserMapper.count(user);
	}

	@Override
	public SysUser loginselect(SysUser user) {
		// TODO Auto-generated method stub
		return sysUserMapper.loginselect(user);
	}

	@Override
	public void loginupdate(SysUser user) {
		// TODO Auto-generated method stub
		sysUserMapper.loginupdate(user);
	}

	@Override
	public int xiugaimima(SysUser user) {
		// TODO Auto-generated method stub
		return sysUserMapper.xiugaimima(user);
	}

	@Override
	public int tianjiauser(SysUser user) {
		// TODO Auto-generated method stub
		return sysUserMapper.tianjiauser(user);
	}
	
	


}
